<template>
  <div>
    eshop
    <van-button type="primary">主要按钮</van-button>
  </div>
  
</template>

<script setup>
import {login} from '@/api/login'
import { onMounted } from 'vue';
onMounted(async()=>{
  const data={username:'2206040114',password:'123456'}
  const res = await login(data)
  console.log(res);
});
</script>

<style lang="scss" scoped>

</style>